<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>修改和编辑用户</title>
</head>
<body>
    <form th:action="@{/users/editUser}" method="post">
        <input type="hidden" name="id" th:field="${user.id}"/><br/>
        用户姓名, <input type="text" name="name" th:field="${user.name}"/><br/>
        用户年龄, <input type="text" name="age" th:field="${user.age}"/><br/>
        <input type="submit" value="确定"/><br/>
    </form>
</body>
</html>